package com.ruoyi.cat.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 基础数据设置对象 cat_basedata_table
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class CatBasedataTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 百分比基础利润 */
    @Excel(name = "百分比基础利润")
    private BigDecimal baseProfit;

    /** 小数点后三位基础成本 */
    @Excel(name = "小数点后三位基础成本")
    private BigDecimal baseCost;

    /** 百分比地区奖励 */
    @Excel(name = "百分比地区奖励")
    private BigDecimal areaReward;

    /** 推荐奖励百分比 */
    @Excel(name = "推荐奖励百分比")
    private BigDecimal introduceReward;

    private BigDecimal offsiteDiscountRate;

    public BigDecimal getOffsiteDiscountRate() {
        return offsiteDiscountRate;
    }

    public void setOffsiteDiscountRate(BigDecimal offsiteDiscountRate) {
        this.offsiteDiscountRate = offsiteDiscountRate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBaseProfit(BigDecimal baseProfit) 
    {
        this.baseProfit = baseProfit;
    }

    public BigDecimal getBaseProfit() 
    {
        return baseProfit;
    }
    public void setBaseCost(BigDecimal baseCost) 
    {
        this.baseCost = baseCost;
    }

    public BigDecimal getBaseCost() 
    {
        return baseCost;
    }
    public void setAreaReward(BigDecimal areaReward) 
    {
        this.areaReward = areaReward;
    }

    public BigDecimal getAreaReward() 
    {
        return areaReward;
    }
    public void setIntroduceReward(BigDecimal introduceReward) 
    {
        this.introduceReward = introduceReward;
    }

    public BigDecimal getIntroduceReward() 
    {
        return introduceReward;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseProfit", getBaseProfit())
            .append("baseCost", getBaseCost())
            .append("areaReward", getAreaReward())
            .append("introduceReward", getIntroduceReward())
            .toString();
    }
}
